package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.DisasterPrevention.EventBean;
import com.project.bean.ExpertConsultation.ConsultBean;


import java.time.LocalDate;
import java.util.List;

public interface IEventService extends IService<EventBean> {


    IPage<EventBean> findCutEvent(int pagNo, int pageSize, String eventName, String eventStage, String regionName, LocalDate startDate,LocalDate endData);


    void addEvent(EventBean eventBean);


    EventBean findEvent(int eventId);


    void updateEvent(int eventId,String eventStage,String eventPrecept);


    List <EventBean> findAllEvent();



    void updateEventStage(int eventId,String eventStage);


    void updateEventAdvice(int eventId,String eventAdvice);


    EventBean findConsult(int eventId);










}
